﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Spac.Contract
{
    [ServiceContract(Namespace="SPAC")]
    public interface ISpac
    {
        [OperationContract]
        byte[] GetAssembly(string fullName);

        [OperationContract]
        void AddAssembly(byte[] assembly);

        [OperationContract]
        void DeleteAssembly(string fullName);

        [OperationContract]
        string GetConfigUrl(string fullName);

        [OperationContract]
        List<ApplicationInfo> GetApplications();
    }
}
